home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Magazine / YAM / Source / includes / libraries / genesis.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-12-15  |  985 b   |  34 lines

  1. #ifndef GENESIS_H
  2. #define GENESIS_H
  3.  
  4. #include <exec/libraries.h>
  5.  
  6. #define GENESISNAME "AmiTCP:libs/genesis.library"
  7.  
  8. #define GUF_TextObject  1   /* use a TextObject for loginname instead of StringObject *
  9.                              * => user can't change it                                */
  10.  
  11. struct genUser
  12. {
  13.    UBYTE *us_name;   /* Username */
  14.    UBYTE *us_passwd; /* Encrypted password */
  15.    LONG   us_uid;    /* User ID */
  16.    LONG   us_gid;    /* Group ID */
  17.    UBYTE *us_gecos;  /* Real name etc */
  18.    UBYTE *us_dir;    /* Home directory */
  19.    UBYTE *us_shell;  /* Shell */
  20. };
  21.  
  22. struct ParseConfig_Data
  23. {
  24.    STRPTR pc_buffer;    /* buffer holding the file (internal use only) */
  25.    LONG   pc_size;      /* holding the size of the buffer (internal use only) */
  26.    STRPTR pc_current;   /* pointer to the current position (internal use only) */
  27.  
  28.    STRPTR pc_argument;  /* pointer to the argument name */
  29.    STRPTR pc_contents;  /* pointer to the argument's contents */
  30. };
  31.  
  32.  
  33. #endif
  34.